module.exports = function (app) {
    const prefix = '/wap/message/';

    // API::是否含有新消息;
    app.get(prefix + 'have', (req, res) => {
        const code = 200;
        const msg = '';
        const data = {'res': 2};
        const time = +(new Date);
        const result = {code, data, msg, time};
        return res.end(JSON.stringify(result));
    });
};
